package com.itheima.mm.pojo;

import lombok.Data;

import java.util.List;

@Data
public class PageResult {
private Long counts;
private Long pagesize;
private Long pages;
private Long page;
private List items;

    public PageResult(Long counts, Long pagesize, Long pages, Long page, List items) {
        this.counts = counts;
        this.pagesize = pagesize;
        this.pages = pages;
        this.page = page;
        this.items = items;
    }

    public PageResult() {
    }
}
